package exception.exception02;

public class FinallyDemo {
    public static void main(String[] args) {
        System.out.println("程序开始了");
        try {
            String main = "jljk";
            System.out.println(main.charAt(0));
            return;
        } catch (StringIndexOutOfBoundsException e) {
            System.out.println("问题解决了");

        }
     //   finally {
            System.out.println("有很大的问题");
      //  }
        System.out.println("结束了");
    }
}
